<?php
//error_reporting(E_ERROR|E_PARSE);
header("Content-Type:text/html; charset=utf-8");
session_start();
if ($_SESSION["islogin"] !== 'igiveyouthepower'){
    echo "<script language=JavaScript>\r\n";
    echo "alert('请先登录');\r\n";
    echo "location.href='../index.php'\r\n";
    echo "</script>";
}else{
$lang = $_GET["lang"];
$bname = $_GET["bname"];
?>
<link href="../css/mcommon.css" rel="stylesheet" title="" type="text/css"/>
<table width="100%" border="0" cellspacing="1" cellpadding="1">
    <tr>
        <td height="100">
            <div align="center">敦煌网设置常用字段方便导出</div>
        </td>
    </tr>
    <tr>
        <td height="100">
            <div align="center">
                <form id="form1" name="form1" method="post"
                      action="outdunhuang.php?lang=<?php echo $lang; ?>&bname=<?php echo $bname; ?>">
                    <table>
                        <tr>
                            <td>自定义ID<input name="customId" type="text" id="customId"/></td>
                            <td>类目ID<input name="catePubId" type="text" id="catePubId"/></td>
                            <td>类目名称<input name="cateName" type="text" id="cateName"/></td>
                            <td>类目属性<input name="cateProperty" type="text" id="cateProperty"/></td>
                            <td>关键词<input name="keywords" type="text" id="keywords"/></td>
                        </tr>
                        <tr>
                            <td>货品重（KG）<input name="grossWeight" type="text" id="grossWeight"/></td>
                            <td>长(CM)<input name="length" type="text" id="length"/></td>
                            <td>宽(CM)<input name="width" type="text" id="width"/></td>
                            <td>高(CM)<input name="height" type="text" id="height"/></td>
                            <td>备货数量<input name="number" type="text" id="number"/></td>
                        </tr>
                        <tr>
                            <td>备货期<input name="stockTime" type="text" id="stockTime"/></td>
                            <td>服务模板<input name="serviceTemplateID" type="text" id="serviceTemplateID"/></td>
                            <td>运费模板<input name="freightTemplateID" type="text" id="freightTemplateID"/></td>
                            <td>计量单位<input name="metering" type="text" id="metering"/></td>
                            <td>销售方式<input name="salesWay" type="text" id="salesWay"/></td>
                        </tr>
                        <tr>
                            <td>SKU规格<input name="norms" type="text" id="norms"/></td>
                            <td>商品编码<input name="commodityCode" type="text" id="commodityCode"/></td>
                            <td>价格设置方式<input name="priceSetType" type="text" id="priceSetType"/></td>
                            <td>价格区间销售数量<input name="priceSellNum" type="text" id="priceSellNum"/></td>
                        </tr>

                    </table>
                    <p>
                        <input type="submit" name="Submit" value="导出excel"/>
                    </p>
                </form>
            </div>
        </td>
    </tr>
</table>
<div align="center">
    <?php } ?>
    <img src="../img/zhuan.jpg" width="1024" height="540"/></div>
